<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>toeplitz</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>toeplitz</b> -  toeplitz matrix</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>A=toeplitz(c [,r])   </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>a,c,r</b>
        </tt>: constant, polynomial or string matrices</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    returns the Toeplitz  matrix 
    whose first  row is <tt>
        <b>r</b>
      </tt> and first column is  <tt>
        <b>c</b>
      </tt>.
    <tt>
        <b>c(1)</b>
      </tt>  must be equal to <tt>
        <b>r(1)</b>
      </tt>.  <tt>
        <b>toeplitz(c)</b>
      </tt> returns the
    symmetric Toeplitz matrix.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

A=toeplitz(1:5);
//
T=toeplitz(1:5,1:2:7);T1=[1 3 5 7;2 1 3 5;3 2 1 3;4 3 2 1;5 4 3 2];
T-T1
//
s=poly(0,'s');
t=toeplitz([s,s+1,s^2,1-s]);
t1=[s,1+s,s*s,1-s;1+s,s,1+s,s*s;s*s,1+s,s,1+s;1-s,s*s,1+s,s]
t-t1
//
t=toeplitz(['1','2','3','4']);
t1=['1','2','3','4';'2','1','2','3';'3','2','1','2';'4','3','2','1']
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="../programming/matrix.htm">
        <tt>
          <b>matrix</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
